/**
The routing of this file will not show the layout.
It is an independent new page.
the contents of the file still need to log in to access
 */
import type { AppRouteModule } from '/@/router/types';

// test
// http:ip:port/h5
export const h5Routes: AppRouteModule[] = [
  {
    path: '/h5/inviteFriend',
    name: 'InviteFriend',
    component: () => import('/@/views/h5/invite/InviteFriend.vue'),
    meta: {
      title: '邀请好友',
      ignoreAuth: true,
    },
  },
  {
    path: '/h5/workCoin/mine',
    name: 'WorkCoinMine',
    component: () => import('/@/views/h5/workCoin/Mine.vue'),
    meta: {
      title: '我的工币',
      ignoreAuth: true,
    },
  },
  {
    path: '/h5/workCoin/bill',
    name: 'WorkCoinBill',
    component: () => import('/@/views/h5/workCoin/Bill.vue'),
    meta: {
      title: '账单',
      ignoreAuth: true,
    },
  },
  {
    path: '/h5/announce',
    name: 'Announce',
    component: () => import('/@/views/h5/announce/Announce.vue'),
    meta: {
      title: '公告',
      ignoreAuth: true,
    },
  },
];

export const h5RouteNames = h5Routes.map((item) => item.name);
